package mole.hud 
{
	import mole.Main;

	import net.flashpunk.Entity;
	import net.flashpunk.graphics.Image;
	/**
	 * ...
	 * @author Cédric Liaudet
	 */
	public class CGraphicStamina extends Entity
	{
		[Embed(source = '../../data/images/jauge_stamina.png')]
		static public const ASSET:Class;
			
		public function CGraphicStamina(_nPosX:int, _nPosY:int)
		{
			graphic = new Image(ASSET);
			x = _nPosX + (24 * _nPosY);
			y = 395;
			
			layer = 0;			
		}
		
		public function Init():void
		{
			Main.World.add(this);
		}
	}
}